#include "my_vector.h"
#include <iostream>


int main (int argc, char** argv) {
    my_vector<int> tst1(200,6);
    my_vector<int> tst2(tst1);
    tst1.resize(0);
    tst2.reserve(1000);
    tst1.swap(tst2);
    std::cout<<tst1.size()<<std::endl;
    std::cout<<tst1.empty()<<std::endl;
    tst1.push_back(45);
    std::cout<<tst1.front()<<std::endl;
    std::cout<<tst1.back()<<std::endl;
    std::cout<<tst1.size()<<std::endl;
    std::cout<<tst1.capacity()<<std::endl;
    for(int i = 0; i < 100000; i++)
         tst1.push_back(i);
    tst1.clear();
    std::cout<<tst1.size()<<std::endl;
    std::cout<<tst1.capacity()<<std::endl;
    std::cout<<tst1.empty()<<std::endl;
    return 0;
}